<?php

namespace Taxx\KernelBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Taxx\KernelBundle\Entity\UserLecture
 *
 * @ORM\Table(name="user_lecture")
 * @ORM\Entity
 */
class UserLecture
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var User
     *
     * @ORM\ManyToOne(targetEntity="User")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="user_id", referencedColumnName="id")
     * })
     */
    private $user;
    
    /**
     * @var Lecture
     *
     * @ORM\ManyToOne(targetEntity="Lecture")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="lecture_id", referencedColumnName="id")
     * })
     */
    private $lecture;

    
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getLecture() {
        return $this->lecture;
    }

    public function setLecture($lecture) {
        $this->lecture = $lecture;
    }
    
    public function getUser() {
        return $this->user;
    }

    public function setUser($user) {
        $this->user = $user;
    }




}

?>
